'''
author:        Wang Chenyang <cy-wang21@mails.tsinghua.edu.cn>
date:          2025-07-30 14:13:50
Copyright © Department of Physics, Tsinghua University. All rights reserved
'''

import pickle
import numpy as np

def test_vec_norm():
    with open("data/tagged_items_embed.pkl", "rb") as fp:
        tagged_items_embed = pickle.load(fp)

    for item_id, item_embed in tagged_items_embed.items():
        print(item_id, np.linalg.norm(item_embed))
        input()

if __name__ == "__main__":
    test_vec_norm()